package csomag.telefonregiszter.hibernate;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class Hibernate {
	private SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();;
	
	public SessionFactory getSessionFactory() {
		return sessionFactory;
	}
}